package com.starsoft.trade.bean;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * TradeSummary entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "trade_summary")
public class TradeSummary implements java.io.Serializable {

	// Fields

	private TradeSummaryId id;
	private Double netAssert;
	private Double marketValue;
	private Double cash;
	private Double principal;
	private Double profitDayMoney;
	private Double profitMoney;
	private Double baseValue;
	private Double profitDay;
	private Double profit1m;
	private Double profit3m;
	private Double profit6m;
	private Double profit12m;
	private Double profit;
	private Double baseProfitDay;
	private Double baseProfit1m;
	private Double baseProfit3m;
	private Double baseProfit6m;
	private Double baseProfit12m;
	private Double baseProfit;
	private Double alpha1m;
	private Double alpha3m;
	private Double alpha6m;
	private Double alpha12m;
	private Double alpha;
	private Double beta1m;
	private Double beta3m;
	private Double beta6m;
	private Double beta12m;
	private Double beta;
	private Double maxDrawdown;
	private Double volability1m;
	private Double volability3m;
	private Double volability6m;
	private Double volability12m;
	private Double volability;
	private Double sharpe1m;
	private Double sharpe3m;
	private Double sharpe6m;
	private Double sharpe12m;
	private Double sharpe;
	private Double information1m;
	private Double information3m;
	private Double information6m;
	private Double information12m;
	private Double information;

	// Constructors

	/** default constructor */
	public TradeSummary() {
	}

	/** minimal constructor */
	public TradeSummary(TradeSummaryId id) {
		this.id = id;
	}

	/** full constructor */
	public TradeSummary(TradeSummaryId id, Double netAssert, Double marketValue, Double cash, Double principal,
			Double profitDayMoney, Double profitMoney, Double baseValue, Double profitDay, Double profit1m,
			Double profit3m, Double profit6m, Double profit12m, Double profit, Double baseProfitDay,
			Double baseProfit1m, Double baseProfit3m, Double baseProfit6m, Double baseProfit12m, Double baseProfit,
			Double alpha1m, Double alpha3m, Double alpha6m, Double alpha12m, Double alpha, Double beta1m,
			Double beta3m, Double beta6m, Double beta12m, Double beta, Double maxDrawdown, Double volability1m,
			Double volability3m, Double volability6m, Double volability12m, Double volability, Double sharpe1m,
			Double sharpe3m, Double sharpe6m, Double sharpe12m, Double sharpe, Double information1m,
			Double information3m, Double information6m, Double information12m, Double information) {
		this.id = id;
		this.netAssert = netAssert;
		this.marketValue = marketValue;
		this.cash = cash;
		this.principal = principal;
		this.profitDayMoney = profitDayMoney;
		this.profitMoney = profitMoney;
		this.baseValue = baseValue;
		this.profitDay = profitDay;
		this.profit1m = profit1m;
		this.profit3m = profit3m;
		this.profit6m = profit6m;
		this.profit12m = profit12m;
		this.profit = profit;
		this.baseProfitDay = baseProfitDay;
		this.baseProfit1m = baseProfit1m;
		this.baseProfit3m = baseProfit3m;
		this.baseProfit6m = baseProfit6m;
		this.baseProfit12m = baseProfit12m;
		this.baseProfit = baseProfit;
		this.alpha1m = alpha1m;
		this.alpha3m = alpha3m;
		this.alpha6m = alpha6m;
		this.alpha12m = alpha12m;
		this.alpha = alpha;
		this.beta1m = beta1m;
		this.beta3m = beta3m;
		this.beta6m = beta6m;
		this.beta12m = beta12m;
		this.beta = beta;
		this.maxDrawdown = maxDrawdown;
		this.volability1m = volability1m;
		this.volability3m = volability3m;
		this.volability6m = volability6m;
		this.volability12m = volability12m;
		this.volability = volability;
		this.sharpe1m = sharpe1m;
		this.sharpe3m = sharpe3m;
		this.sharpe6m = sharpe6m;
		this.sharpe12m = sharpe12m;
		this.sharpe = sharpe;
		this.information1m = information1m;
		this.information3m = information3m;
		this.information6m = information6m;
		this.information12m = information12m;
		this.information = information;
	}

	// Property accessors
	@EmbeddedId
	@AttributeOverrides({ @AttributeOverride(name = "acountId", column = @Column(name = "acountId", nullable = false)),
			@AttributeOverride(name = "asofdate", column = @Column(name = "asofdate", nullable = false, length = 10)) })
	public TradeSummaryId getId() {
		return this.id;
	}

	public void setId(TradeSummaryId id) {
		this.id = id;
	}

	@Column(name = "netAssert", precision = 22, scale = 0)
	public Double getNetAssert() {
		return this.netAssert;
	}

	public void setNetAssert(Double netAssert) {
		this.netAssert = netAssert;
	}

	@Column(name = "marketValue", precision = 22, scale = 0)
	public Double getMarketValue() {
		return this.marketValue;
	}

	public void setMarketValue(Double marketValue) {
		this.marketValue = marketValue;
	}

	@Column(name = "cash", precision = 22, scale = 0)
	public Double getCash() {
		return this.cash;
	}

	public void setCash(Double cash) {
		this.cash = cash;
	}

	@Column(name = "principal", precision = 22, scale = 0)
	public Double getPrincipal() {
		return this.principal;
	}

	public void setPrincipal(Double principal) {
		this.principal = principal;
	}

	@Column(name = "profitDayMoney", precision = 22, scale = 0)
	public Double getProfitDayMoney() {
		return this.profitDayMoney;
	}

	public void setProfitDayMoney(Double profitDayMoney) {
		this.profitDayMoney = profitDayMoney;
	}

	@Column(name = "profitMoney", precision = 22, scale = 0)
	public Double getProfitMoney() {
		return this.profitMoney;
	}

	public void setProfitMoney(Double profitMoney) {
		this.profitMoney = profitMoney;
	}

	@Column(name = "baseValue", precision = 22, scale = 0)
	public Double getBaseValue() {
		return this.baseValue;
	}

	public void setBaseValue(Double baseValue) {
		this.baseValue = baseValue;
	}

	@Column(name = "profitDay", precision = 22, scale = 0)
	public Double getProfitDay() {
		return this.profitDay;
	}

	public void setProfitDay(Double profitDay) {
		this.profitDay = profitDay;
	}

	@Column(name = "profit1M", precision = 22, scale = 0)
	public Double getProfit1m() {
		return this.profit1m;
	}

	public void setProfit1m(Double profit1m) {
		this.profit1m = profit1m;
	}

	@Column(name = "profit3M", precision = 22, scale = 0)
	public Double getProfit3m() {
		return this.profit3m;
	}

	public void setProfit3m(Double profit3m) {
		this.profit3m = profit3m;
	}

	@Column(name = "profit6M", precision = 22, scale = 0)
	public Double getProfit6m() {
		return this.profit6m;
	}

	public void setProfit6m(Double profit6m) {
		this.profit6m = profit6m;
	}

	@Column(name = "profit12M", precision = 22, scale = 0)
	public Double getProfit12m() {
		return this.profit12m;
	}

	public void setProfit12m(Double profit12m) {
		this.profit12m = profit12m;
	}

	@Column(name = "profit", precision = 22, scale = 0)
	public Double getProfit() {
		return this.profit;
	}

	public void setProfit(Double profit) {
		this.profit = profit;
	}

	@Column(name = "baseProfitDay", precision = 22, scale = 0)
	public Double getBaseProfitDay() {
		return this.baseProfitDay;
	}

	public void setBaseProfitDay(Double baseProfitDay) {
		this.baseProfitDay = baseProfitDay;
	}

	@Column(name = "baseProfit1M", precision = 22, scale = 0)
	public Double getBaseProfit1m() {
		return this.baseProfit1m;
	}

	public void setBaseProfit1m(Double baseProfit1m) {
		this.baseProfit1m = baseProfit1m;
	}

	@Column(name = "baseProfit3M", precision = 22, scale = 0)
	public Double getBaseProfit3m() {
		return this.baseProfit3m;
	}

	public void setBaseProfit3m(Double baseProfit3m) {
		this.baseProfit3m = baseProfit3m;
	}

	@Column(name = "baseProfit6M", precision = 22, scale = 0)
	public Double getBaseProfit6m() {
		return this.baseProfit6m;
	}

	public void setBaseProfit6m(Double baseProfit6m) {
		this.baseProfit6m = baseProfit6m;
	}

	@Column(name = "baseProfit12M", precision = 22, scale = 0)
	public Double getBaseProfit12m() {
		return this.baseProfit12m;
	}

	public void setBaseProfit12m(Double baseProfit12m) {
		this.baseProfit12m = baseProfit12m;
	}

	@Column(name = "baseProfit", precision = 22, scale = 0)
	public Double getBaseProfit() {
		return this.baseProfit;
	}

	public void setBaseProfit(Double baseProfit) {
		this.baseProfit = baseProfit;
	}

	@Column(name = "alpha1M", precision = 22, scale = 0)
	public Double getAlpha1m() {
		return this.alpha1m;
	}

	public void setAlpha1m(Double alpha1m) {
		this.alpha1m = alpha1m;
	}

	@Column(name = "alpha3M", precision = 22, scale = 0)
	public Double getAlpha3m() {
		return this.alpha3m;
	}

	public void setAlpha3m(Double alpha3m) {
		this.alpha3m = alpha3m;
	}

	@Column(name = "alpha6M", precision = 22, scale = 0)
	public Double getAlpha6m() {
		return this.alpha6m;
	}

	public void setAlpha6m(Double alpha6m) {
		this.alpha6m = alpha6m;
	}

	@Column(name = "alpha12M", precision = 22, scale = 0)
	public Double getAlpha12m() {
		return this.alpha12m;
	}

	public void setAlpha12m(Double alpha12m) {
		this.alpha12m = alpha12m;
	}

	@Column(name = "alpha", precision = 22, scale = 0)
	public Double getAlpha() {
		return this.alpha;
	}

	public void setAlpha(Double alpha) {
		this.alpha = alpha;
	}

	@Column(name = "beta1M", precision = 22, scale = 0)
	public Double getBeta1m() {
		return this.beta1m;
	}

	public void setBeta1m(Double beta1m) {
		this.beta1m = beta1m;
	}

	@Column(name = "beta3M", precision = 22, scale = 0)
	public Double getBeta3m() {
		return this.beta3m;
	}

	public void setBeta3m(Double beta3m) {
		this.beta3m = beta3m;
	}

	@Column(name = "beta6M", precision = 22, scale = 0)
	public Double getBeta6m() {
		return this.beta6m;
	}

	public void setBeta6m(Double beta6m) {
		this.beta6m = beta6m;
	}

	@Column(name = "beta12M", precision = 22, scale = 0)
	public Double getBeta12m() {
		return this.beta12m;
	}

	public void setBeta12m(Double beta12m) {
		this.beta12m = beta12m;
	}

	@Column(name = "beta", precision = 22, scale = 0)
	public Double getBeta() {
		return this.beta;
	}

	public void setBeta(Double beta) {
		this.beta = beta;
	}

	@Column(name = "maxDrawdown", precision = 22, scale = 0)
	public Double getMaxDrawdown() {
		return this.maxDrawdown;
	}

	public void setMaxDrawdown(Double maxDrawdown) {
		this.maxDrawdown = maxDrawdown;
	}

	@Column(name = "volability1M", precision = 22, scale = 0)
	public Double getVolability1m() {
		return this.volability1m;
	}

	public void setVolability1m(Double volability1m) {
		this.volability1m = volability1m;
	}

	@Column(name = "volability3M", precision = 22, scale = 0)
	public Double getVolability3m() {
		return this.volability3m;
	}

	public void setVolability3m(Double volability3m) {
		this.volability3m = volability3m;
	}

	@Column(name = "volability6M", precision = 22, scale = 0)
	public Double getVolability6m() {
		return this.volability6m;
	}

	public void setVolability6m(Double volability6m) {
		this.volability6m = volability6m;
	}

	@Column(name = "volability12M", precision = 22, scale = 0)
	public Double getVolability12m() {
		return this.volability12m;
	}

	public void setVolability12m(Double volability12m) {
		this.volability12m = volability12m;
	}

	@Column(name = "volability", precision = 22, scale = 0)
	public Double getVolability() {
		return this.volability;
	}

	public void setVolability(Double volability) {
		this.volability = volability;
	}

	@Column(name = "sharpe1M", precision = 22, scale = 0)
	public Double getSharpe1m() {
		return this.sharpe1m;
	}

	public void setSharpe1m(Double sharpe1m) {
		this.sharpe1m = sharpe1m;
	}

	@Column(name = "sharpe3M", precision = 22, scale = 0)
	public Double getSharpe3m() {
		return this.sharpe3m;
	}

	public void setSharpe3m(Double sharpe3m) {
		this.sharpe3m = sharpe3m;
	}

	@Column(name = "sharpe6M", precision = 22, scale = 0)
	public Double getSharpe6m() {
		return this.sharpe6m;
	}

	public void setSharpe6m(Double sharpe6m) {
		this.sharpe6m = sharpe6m;
	}

	@Column(name = "sharpe12M", precision = 22, scale = 0)
	public Double getSharpe12m() {
		return this.sharpe12m;
	}

	public void setSharpe12m(Double sharpe12m) {
		this.sharpe12m = sharpe12m;
	}

	@Column(name = "sharpe", precision = 22, scale = 0)
	public Double getSharpe() {
		return this.sharpe;
	}

	public void setSharpe(Double sharpe) {
		this.sharpe = sharpe;
	}

	@Column(name = "information1M", precision = 22, scale = 0)
	public Double getInformation1m() {
		return this.information1m;
	}

	public void setInformation1m(Double information1m) {
		this.information1m = information1m;
	}

	@Column(name = "information3M", precision = 22, scale = 0)
	public Double getInformation3m() {
		return this.information3m;
	}

	public void setInformation3m(Double information3m) {
		this.information3m = information3m;
	}

	@Column(name = "information6M", precision = 22, scale = 0)
	public Double getInformation6m() {
		return this.information6m;
	}

	public void setInformation6m(Double information6m) {
		this.information6m = information6m;
	}

	@Column(name = "information12M", precision = 22, scale = 0)
	public Double getInformation12m() {
		return this.information12m;
	}

	public void setInformation12m(Double information12m) {
		this.information12m = information12m;
	}

	@Column(name = "information", precision = 22, scale = 0)
	public Double getInformation() {
		return this.information;
	}

	public void setInformation(Double information) {
		this.information = information;
	}

}